<%--
    Document   : formTest
    Created on : 31.12.2012, 10:31:08
    Author     : Martin Zmítko <martin.zmitko@gmail.com>
--%>

<%@page import="cz.uhk.ppro.response.model.Test"%>
<%@ include file="/WEB-INF/jsp/header.jsp" %>
<%@ page pageEncoding="UTF-8" contentType="text/html; charset=UTF-8" %>

<h2>
    Přidání/odebrání studentů pro kruz 
</h2>
<div class="alert alert-info">
        <i class="icon-info-sign"></i> Zakšrtnutí přiřadíte studenta, odškrtnutím studenta odeberete od toho kurzu.
</div>
    
<form:form class="form-horizontal" modelAttribute="SC" action="courses_students.do?id=${SC.course_id}">

          
    <div class="row">
        <div class="span6 ">
            <table class="table table-condensed">
                    <tr>
                        <th>Jméno studenta</th>
                    </tr>
                    <tr>
                        <td><form:checkboxes items="${studenti}" itemValue="id" itemLabel="lastName" path="students" multiple="true"  /></td>
                    </tr>
                 
                </table>

        </div>
    </div>
                    
    <div class="control-group">
        <div class="controls">
            <input type="submit" value="<spring:message code="form.save" />" class="myBtn" />
        </div>
    </div>
            
</form:form>









<%@ include file="/WEB-INF/jsp/footer.jsp" %>